﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using SharePointOfView.WebControls;

namespace SharePointOfView.Samples.ExtensionMethods
{
    public class HelloWorldWebPart : WebPartBase
    {
        protected override void CreateWebPartControls()
        {
            base.CreateWebPartControls();

            Label lbl = new Label();

            lbl.Text = "Hello World : " + DateTime.Now;

            this.Controls.Add(lbl);
        }
    }
}
